package com.wanxi.object;

public class WaterModelTest {
    public static void main(String[] args) {
        WaterModel waterModel = new WaterModel("美的","白色",4,"纯净水");
        waterModel.show();
        int c=waterModel.getCapacity();
        if(c>3){
            System.out.println("容量大于3L");
        }
    }
}
